export default {
    path: "/admin",
    name: "admin",
    component: () => import('@/views/admin'),
    children: [
        {
            path: "/admin",
            redirect: 'user'
        },

        {
            path: 'user',
            name: 'admin_user',
            component: () => import('@/views/admin/user')
        },
        {
            path: 'message',
            name: 'admin_message',
            component: () => import('@/views/admin/message')
        },
        {
            path: 'resource',
            name: 'admin_resource',
            component: () => import('@/views/admin/resource')
        }
    ]
}